package com.derbysoft.lowcostadapter.commons.repository;

import com.derbysoft.common.paginater.Paginater;
import com.derbysoft.lowcostadapter.commons.model.Reservation;
import com.derbysoft.lowcostadapter.web.action.admin.reservation.ReservationCondition;

public interface ReservationRepository {
    Reservation findByErsp(String erspCode);

    void create(String passport, String ersp);

    void cancel(String ersp, String cancellationReference);

    void updateBookingReference(String ersp, String bookingReference);

    void findByCondition(ReservationCondition condition, Paginater paginater);

}
